package movie.test.as.seat.dao;

import java.util.List;
import java.util.Map;

import movie.test.as.seat.bean.SeatBean;

import com.alibaba.fastjson.JSONObject;

public interface SeatDao {

	List<Map<String, Object>> getSeatList(JSONObject objs);

	int updateSeatList(Integer numberX,Integer numberY, Integer hallId);

	int updateSeatsById(Integer numberX,Integer numberY, Integer hallId);

	Map<String, Object> getSeatsByHallId(Integer id);

	Integer addSeats(List<SeatBean> lists);

	Integer updateHallSeats(List<SeatBean> lists);

	Integer deleteHallSeats(Integer hallId);

	int updateSeatsByHallId(JSONObject objs);

	int updateSeatsByHallIdseatList(List seatList);

	int updateReturnSeatsId(List seatList);

	int updateReturnSeat(Integer seatX, Integer seatY, Integer hallId);

}
